package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.common.model.GlobalResponse;
import com.mall.vo.ProductDetailVO;
import com.mall.vo.ProductVO;

import java.util.List;

public interface IProductService {
    GlobalResponse<PageInfo<ProductVO>> list(Integer categoryId, Integer pageNum, Integer pageSize);

    GlobalResponse<ProductDetailVO> detail(Integer productId);
}
